package com.tinyseed.emcp.api.app.bean;

import java.util.List;

/**
 * 版权所有 © Copyright 2019<br>
 *
 * @Description: <br>
 * @CreateDate: Created in 2019/11/3 16:44 <br>
 * @Author: Simon.Yu
 * @Modify:
 */
public class MenuBean {

    private String path;

    private Meta meta;

    private List<MenuBean> children;

    public MenuBean() {

    }

    public MenuBean(String path, Meta meta) {
        this.path = path;
        this.meta = meta;
    }

    public MenuBean(String path, Meta meta, List<MenuBean> children) {
        this.path = path;
        this.meta = meta;
        this.children = children;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public List<MenuBean> getChildren() {
        return children;
    }

    public void setChildren(List<MenuBean> children) {
        this.children = children;
    }

    public static class Meta {

        private String title;

        private String icon;

        public Meta() {

        }

        public Meta(String title, String icon) {
            this.title = title;
            this.icon = icon;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
    }
}
